import Vue from 'vue'
import Vuex from 'vuex'
import userInfo from './modules/userInfo'
Vue.use(Vuex)
export default new Vuex.Store({
  modules: {
    userInfo
  },
  getters: {
    isLogined: state => {
      return state.userInfo.isLogined
    }
  },
})
